package Fachada;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JTextPane;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class VisualizarFoto extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					VisualizarFoto frame = new VisualizarFoto();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public VisualizarFoto() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblFotoPronta = new JLabel("Foto Pronta");
		lblFotoPronta.setBounds(178, 11, 74, 14);
		lblFotoPronta.setFont(new Font("Traditional Arabic", Font.BOLD, 13));
		contentPane.add(lblFotoPronta);
		
		JTextPane textPane = new JTextPane();
		textPane.setBounds(10, 29, 422, 200);
		contentPane.add(textPane);
		
		JButton btnEnviarFoto = new JButton("Enviar Foto");
		btnEnviarFoto.setBounds(78, 240, 91, 23);
		contentPane.add(btnEnviarFoto);
		
		JButton btnVoltar = new JButton("Voltar");
		btnVoltar.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				
				MontarFoto mt = new MontarFoto();
				mt.setVisible(true);
				
			}
		});
		btnVoltar.setBounds(257, 240, 91, 23);
		contentPane.add(btnVoltar);
	}
}
